Skip to content

Add statuses permission to release workflow#144

Merged
enko merged 1 commit intomainfrom
claude/fix-release-workflow-Ye7KM
Mar 22, 2026
Merged

Add statuses permission to release workflow#144
enko merged 1 commit intomainfrom
claude/fix-release-workflow-Ye7KM

Conversation

@enko
Copy link
Copy Markdown
Member

@enko enko commented Mar 22, 2026

Summary

Added the statuses: write permission to the release workflow to enable the workflow to write commit statuses.

Changes

  • Added statuses: write permission to the GitHub Actions workflow permissions section in .github/workflows/release.yml

Details

This permission allows the release workflow to create and update commit statuses on the repository, which may be needed for workflow steps that report build or deployment status back to commits or pull requests.

https://claude.ai/code/session_01K895Mx4NBdynhMVemAD1bv

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 22, 2026

## Automated Code Review | Commit: 3c91947 | Reviewed: 2026-03-22T19:45:00Z | Status: Approved | Critical: 0 | Important: 0 | Suggestions: 0 | AGENTS.md compliance verified for workflow file. The PR adds statuses:write permission to the release workflow. This is minimal, targeted, and correct - semantic-release commonly requires this permission to post commit status updates. No security concerns, logic errors, or policy violations found. CI Run: https://github.com/datenknoten/freundebuch/actions/runs/23411026912

@enko enko force-pushed the claude/fix-release-workflow-Ye7KM branch from 158d485 to af88e71 Compare March 22, 2026 19:43
The CI workflow's danger job declares `permissions: statuses: write`,
which must be granted by the calling workflow. Without this permission,
the reusable workflow call fails at parse time even though the danger
job would be skipped (it only runs on pull_request events).

https://claude.ai/code/session_01K895Mx4NBdynhMVemAD1bv
@enko enko force-pushed the claude/fix-release-workflow-Ye7KM branch from af88e71 to 310269a Compare March 22, 2026 19:45
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review complete. 0 critical, 0 important, 0 suggestions. The statuses:write permission addition is correct and appropriate for the release workflow.

@enko enko merged commit abe0100 into main Mar 22, 2026
7 checks passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 2.68.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants